@extends('admin.common.framework') 
@section('content')
<div class="row">
    <div class="col-lg-12">
        <h3 class="page-header">用户管理</h3>
    </div>
    <!-- /.col-lg-12 -->
</div>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                用户编辑
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                    <div class="row">
                        <div class="col-lg-6">
                            <form role="form" id="user-form">
                                {{ csrf_field() }}
                                <input type="hidden" name="id" value="{{$data['id']}}">
                                <div class="form-group">
                                    <label>用户昵称</label>
                                    <input class="form-control" type="text" name="name" value="{{ $data['name'] }}">
                                </div>
                                <div class="form-group">
                                    <label>用户邮箱</label>
                                    <input class="form-control" type="text" name="email" value="{{ $data['email'] }}">
                                </div>
                                <div class="form-group">
                                    <label>手机号码</label>
                                    <input class="form-control" type="text" name="tel" value="{{ $data['tel'] }}">
                                </div>
                                <div class="form-group">
                                        <label>用户QQ</label>
                                        <input class="form-control" type="text" name="qq" value="{{ $data['qq'] }}">
                                    </div>
                                <div class="form-group">
                                    <label style="margin-right:25px;">用户性别</label>
                                    <label class="radio-inline">
                                            <input type="radio" name="sex" value="1" @if($data['sex'] == 1) checked @endif>男
                                        </label>
                                    <label class="radio-inline">
                                            <input type="radio" name="sex" value="0" @if($data['sex'] == 0) checked @endif>女
                                        </label>
                                </div>
                                <div class="form-group">
                                        <label>出生日期</label>
                                        <input class="form-control" type="date" name="birthday" value="{{ $data['birthday'] }}">
                                    </div>
                                    <div class="form-group">
                                            <label>用户地址</label>
                                            <input class="form-control" type="text" name="address" value="{{ $data['address'] }}">
                                        </div>
                                <div class="form-group">
                                    <label>用户简介</label>
                                    <textarea class="form-control" rows="3" name="intro">{{$data['intro']}}</textarea>
                                </div>

                                <button type="button" class="btn btn-primary">提交</button>
                                <button type="reset" class="btn btn-warning">重置</button>
                            </form>
                        </div>
                    </div>
                <!-- /.table-responsive -->
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
    </div>
</div>
@endsection